package com.mytx.pojo;

import java.util.Date;

public class Comment {
    private String id;

    private String topicId;

    private String parentId;

    private Integer topicType;

    private String content;

    private String fromUid;

    private String fromNick;

    private String fromAvatar;

    private Integer type;

    private Integer status;

    private Integer childSize;

    private Integer praiseSize;

    private String toUid;

    private String toNick;

    private String toAvatar;

    private Date created;
    public Comment(String id, String topicId, String parentId, Integer topicType, String content, String fromUid, String fromNick, String fromAvatar, Integer status, Integer type, Integer childSize, Integer praiseSize, String toUid, String toNick, String toAvatar, Date created) {
        this.id = id;
        this.topicId = topicId;
        this.parentId = parentId;
        this.topicType = topicType;
        this.content = content;
        this.fromUid = fromUid;
        this.fromNick = fromNick;
        this.fromAvatar = fromAvatar;
        this.status = status;
        this.type = type;
        this.childSize = childSize;
        this.praiseSize = praiseSize;
        this.toUid = toUid;
        this.toNick = toNick;
        this.toAvatar = toAvatar;
        this.created = created;
    }

    public Comment() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getTopicId() {
        return topicId;
    }

    public void setTopicId(String topicId) {
        this.topicId = topicId == null ? null : topicId.trim();
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }

    public Integer getTopicType() {
        return topicType;
    }

    public void setTopicType(Integer topicType) {
        this.topicType = topicType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getFromUid() {
        return fromUid;
    }

    public void setFromUid(String fromUid) {
        this.fromUid = fromUid == null ? null : fromUid.trim();
    }

    public String getFromNick() {
        return fromNick;
    }

    public void setFromNick(String fromNick) {
        this.fromNick = fromNick == null ? null : fromNick.trim();
    }

    public String getFromAvatar() {
        return fromAvatar;
    }

    public void setFromAvatar(String fromAvatar) {
        this.fromAvatar = fromAvatar == null ? null : fromAvatar.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getChildSize() {
        return childSize;
    }

    public void setChildSize(Integer childSize) {
        this.childSize = childSize;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getPraiseSize() {
        return praiseSize;
    }

    public void setPraiseSize(Integer praiseSize) {
        this.praiseSize = praiseSize;
    }

    public String getToUid() {
        return toUid;
    }

    public void setToUid(String toUid) {
        this.toUid = toUid == null ? null : toUid.trim();
    }

    public String getToNick() {
        return toNick;
    }

    public void setToNick(String toNick) {
        this.toNick = toNick == null ? null : toNick.trim();
    }

    public String getToAvatar() {
        return toAvatar;
    }

    public void setToAvatar(String toAvatar) {
        this.toAvatar = toAvatar == null ? null : toAvatar.trim();
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }
}